Fractal Block World

Commands for Package: xar


This documentation was created for the following version of the program: 1.01.29



blue
Usage: blue

A function to teleport the player using softcoded
"blue ring teleportation".


claimtrophies
Usage: claimtrophies

Gives you a Steam achievement for each trophy
your player has collected.


debug1
Usage: debug1

This is used internally by the developer.


equip
Usage: equip n

Equips item number n.


equip_left
Usage: equip_left

Equips the previous item in the player's
inventory.


equip_right
Usage: equip_right

Equips the next item in the player's inventory.


freemarkers
Usage: blue

Cheat code that allows the player to place
markers for zero gold.


get_equipped
Usage: get_equipped

Returns (in the form of a string) what weapon is
is currently equipped.


give
Usage: give all
give gold
give keys
give upgrades0
give upgrades1
give upgrades2
give weaponmodes

The command "give all" gives you all ammo,
health, and armor of the player. The command
"give gold" sets the player's gold to a very high
amount. The command "give keys" will give you
keys. The command "give upgrades0" sets the
player to have a very small number of upgrades in
many categories. The command "give upgrades1"
sets the player to have 100 upgrades in many
categories. The command "give upgrades2" sets
the player to have 1000 upgrades in many
categories. The command "give weaponmodes"
unlocks the extra weapon modes for the player's
weapons.


help2
Usage: help2
help2 cmd

The first usage prints the list of all commands
defined by the package. The second usage prints
information about the specified command.


inf2
Usage: inf2
Usage: inf2 on
Usage: inf2 off

Cheat code to toggle the Infinifrag 2 Easter
egg.


marker
Usage: marker (start | stop)

Starts / stops the drop marker ability. That is
"marker start" should be called when the marker
key is pressed, and "marker stop" should be
called when the marker key is released.


move
Usage: move (forward | back)        (start | stop)
move (left | right) (start | stop)
move (up | down) (start | stop)
move (spwn_ccw | spin_cw) (start | stop)
move brake (start | stop)
move toggle_rocket

A command to move the player.


open_window
Usage: open_window

Opens a window (such as a stats window for
weapons).


pathpink
Usage: pathpink

The command "pathpink" prints the name of the
chunks containing the viewer, with two
modifications. First: if you were to use Pink
Rings, the chunk you would be teleported to is
displayed in pink. Second: if you were to use
Blue Rings, you would be teleported towards the
root of the tree to a "Top Chunk", at which point
you will be teleported down. The Top Chunk is
displayed in blue.


pink
Usage: pink

Cheat code that causes the player to teleport as
if they used pink rings.


snap
Usage: snap

This will create a .lua block script file that
partially represents the contents of the chunk
which contains the player.


takeall
Usage: takeall

Cheat code to take away all ammo, health, and
armor of the player.


telekinesis
Usage: telekinesis

Uses the telekinesis ability of the player to
pick up nearby items.


topofworld
Usage: topofworld

Cheat code to teleport the player to the root of
the world.


use_equipped
Usage: use_equipped (primary | secondary) (start | stop)

Uses the equipped item in the player's
inventory.


wep_script_start
Usage: wep_script_start wep mode

Starts firing the given weapon. The argument wep
should be a number from 0 to 9, and mode should
be either "primary" or "secondary".


wep_script_stop
Usage: wep_script_stop

Stops firing the current weapon.